/*
 zhusir  2017-8-26
 */

var requireJs='../require/';
var view='../view/';
var c_ss='../css/';
var ifcss='../iframecss/';
var ifjs='../iframejs/';

require.config({
    //改变基目录(baseUrl)路径,baseUrl:'js',
    paths:{
        domReady:requireJs+'domReady',
        requireCss:requireJs+'css',
        requireText:requireJs+'text',
        oneHtml:view+'one.html',
        twoHtml:view+'two.html',
        threeHtml:view+'three.html',
        oneCss:ifcss+'one',
        twoCss:ifcss+'two',
        threeCss:ifcss+'three',
        indexCssStyle:c_ss+'style',
        indexCssBoot:c_ss+'bootstrap.min.css',
        indexJsBoot:'bootstrap.min',
        jquery:'jquery',
        index:'index',
        login:'login',
        json_one:'../json/one.json',
        tAddHtml:'../addhtml/t_add.html',
        tAddCss:ifcss+'t_add',
        tAddJs:ifjs+'t_add',
        laydate:'layDate/laydate/laydate',
        oneJs:ifjs+'one',
        twoJs:ifjs+'two',
        threeJs:ifjs+'three'
    },
    // 加载不符合AMD规范的模块
    shim: {
        //'text':{
        //    exports: 'tss'
        //},
        //'tq': {
        //    //这个数组表示该模块的依赖姓，依赖jquery
        //    deps: ['text', 'jquery']
        //    //exports: 'text'
        //}
    }
});
//回调函数在页面DOM结构加载完成后再运行
require(['domReady!','index'],function(dom,app){
    app.init();
    app.htmls();
    app.windows();
    app.local();
    app.inputs();
    app.denglu();
});
require(['domReady!','login'],function(dom,denglu){
    denglu.init();
});















